package top.wardyan.wdev.dbassist.model;

import java.sql.Timestamp;

import top.wardyan.base.model.BaseModel;

@SuppressWarnings("serial")
public class YTLog extends BaseModel<YTLog>{

	public static final YTLog dao = new YTLog().dao();
	
	@Override
	public String tableName() {
		return "yt_log";
	}

	@Override
	public String primaryKey() {
		return "sID";
	}
	

	// sID xDateTime xTableName xField xType xPrevious xNext
	public Integer getSID() {
		return this.getInt("sID");
	}
	public YTLog setSID(Integer sID) {
		this.set("sID", sID);
		return this;
	}
	public Timestamp getXDateTime() {
		return this.getTimestamp("xDateTime");
	}
	public YTLog setXDateTime(Timestamp xDateTime) {
		this.set("xDateTime", xDateTime);
		return this;
	}
	public String getXTableName() {
		return this.getStr("xTableName");
	}
	public YTLog setXTableName(String xTableName) {
		this.set("xTableName", xTableName);
		return this;
	}
	
	public String getXField() {
		return this.getStr("xField");
	}
	public YTLog setXField(String xField) {
		this.set("xField", xField);
		return this;
	}
	
	public Integer getXType() {
		return this.getInt("xType");
	}
	public YTLog setXType(Integer xType) {
		this.set("xType", xType);
		return this;
	}
	
	public String getXPrevious() {
		return this.getStr("xPrevious");
	}
	public YTLog setXPrevious(String xPrevious) {
		this.set("xPrevious", xPrevious);
		return this;
	}
	
	public String getXNext() {
		return this.getStr("xNext");
	}
	public YTLog setXNext(String xNext) {
		this.set("xNext", xNext);
		return this;
	}
}
